import Vue from 'vue';
import Vuex from 'vuex';

import alert from '@/store/alert';
import loading from '@/store/loading';

import restaurant from '@/views/admin/components/restaurant/modules';
import menu from '@/views/admin/components/menu/modules/index';
import order from '@/views/admin/components/Order/modules/index';
import login from '@/views/login/modules/index';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    alert,
    loading,
    restaurant,
    menu,
    order,
    login,
  },
});
